package com.mfdm.gui.actions;

import org.eclipse.jface.action.Action;
import org.eclipse.jface.wizard.WizardDialog;
import org.eclipse.ui.PlatformUI;

import com.mfdm.gui.dialogs.AddNewWizardDialog;
import com.mfdm.gui.wizards.AddNewSongWizard;

public class AddNewSongAction extends Action {

	@Override
	public void run() {
		super.run();
		AddNewSongWizard addNewWizard = new AddNewSongWizard();
		WizardDialog dialog = new AddNewWizardDialog(PlatformUI.getWorkbench().getDisplay().getActiveShell(), addNewWizard);
		dialog.open();
	}
}
